package com.dlnu.sujiwords.service;

import com.dlnu.sujiwords.domain.client.AjaxResult;
import com.dlnu.sujiwords.domain.pojo.User;


public interface IUserService {
    /*修改用户*/
    AjaxResult updateUser(User update);
    /*创建用户*/
    AjaxResult createUser(User create);
    /*分页查询在线用户*/
    AjaxResult selOnlineUser();
    /*分页查询用户*/
    AjaxResult selAllUser();
    /*普通用户注册*/
    AjaxResult normalSign(User signUser);
    /*登录*/
    AjaxResult login(User loginUser);
    /*通过id删除用户*/
    AjaxResult delUserByid(Integer id);
    /*通过手机号查找用户*/
    AjaxResult selUserByPho(String pho);
    AjaxResult selUserLearnVocabulary(String pho);
    /*更改用户的学习词本*/
    AjaxResult updateLearnVocabulary(String phoneNumber,int vocabularyID);
}
